/*
 * @Author: TJN tjn@246@126.com
 * @Date: 2024-07-12 15:28:51
 * @LastEditors: TJN tjn@246@126.com
 * @LastEditTime: 2024-07-12 17:06:42
 * @FilePath: \large-file-upload-nest\src\main.ts
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  app.enableCors();
  await app.listen(3001);
}
bootstrap();
